package OneDayMoreThread;

public class Thread5 extends Thread{
    public int  num;
    public Thread5(int n){
     num=n;
    }

    @Override
    public void run() {
       int result=num*num;
        System.out.println(num+"平方 = " + result);
    }
}
